﻿@model IEnumerable<LynxWebLog.BlogLayoutData>

@{
    ViewBag.Title = "Blog Layout Listing";
}

<h2>Blog Layout Listing</h2>

<p>
    @Html.ActionLink("Create New", "Create")
</p>
<div class="table-responsive">
    <table class="table table-condensed table-striped">
        <tr>
            <th>
                @Html.DisplayNameFor(model => model.bloglayoutid)
            </th>
            <th>
                @Html.DisplayNameFor(model => model.username)
            </th>
            <th>
                @Html.DisplayNameFor(model => model.blogname)
            </th>
            <th>
                @Html.DisplayNameFor(model => model.header_image)
            </th>
           @*<th>
                @Html.DisplayNameFor(model => model.color_primary)
            </th>
            <th>
                @Html.DisplayNameFor(model => model.color_border)
            </th>
            <th>
                @Html.DisplayNameFor(model => model.color_background)
            </th>
            <th>
                @Html.DisplayNameFor(model => model.color_primary_dark)
            </th>
            <th>
                @Html.DisplayNameFor(model => model.color_border_dark)
            </th>   *@
            <th>
                @Html.DisplayNameFor(model => model.category_display)
            </th>
            <th>
                @Html.DisplayNameFor(model => model.month_display)
            </th>
            <th>
                @Html.DisplayNameFor(model => model.tagcloud_display)
            </th>
            <th>
                @Html.DisplayNameFor(model => model.googlead_display)
            </th>
            @*@<th>
                @Html.DisplayNameFor(model => model.custom_css)
            </th>*@
            <th></th>
        </tr>

        @foreach (var item in Model) {
            <tr>
                <td>
                    @Html.DisplayFor(modelItem => item.bloglayoutid)
                </td>
                <td>
                    @Html.DisplayFor(modelItem => item.username)
                </td>
                <td>
                    @Html.DisplayFor(modelItem => item.blogname)
                </td>
                <td>
                    @Html.DisplayFor(modelItem => item.header_image)
                </td>
                @*<td>
                    @Html.DisplayFor(modelItem => item.color_primary)
                </td>
                <td>
                    @Html.DisplayFor(modelItem => item.color_border)
                </td>
                <td>
                    @Html.DisplayFor(modelItem => item.color_background)
                </td>
                <td>
                    @Html.DisplayFor(modelItem => item.color_primary_dark)
                </td>
                <td>
                    @Html.DisplayFor(modelItem => item.color_border_dark)
                </td>*@
                <td>
                    @Html.DisplayFor(modelItem => item.category_display)
                </td>
                <td>
                    @Html.DisplayFor(modelItem => item.month_display)
                </td>
                <td>
                    @Html.DisplayFor(modelItem => item.tagcloud_display)
                </td>
                <td>
                    @Html.DisplayFor(modelItem => item.googlead_display)
                </td>
                @*<td>
                    @Html.DisplayFor(modelItem => item.custom_css)
                </td>*@
                <td>
                    @Html.ActionLink("Edit", "Edit", new { id=item.bloglayoutid }) |
                    @Html.ActionLink("Details", "Details", new { id=item.bloglayoutid }) |
                    @Html.ActionLink("Delete", "Delete", new { id=item.bloglayoutid })
                </td>
            </tr>
        }

    </table>
</div>